/**
 * 
 */
package model;

/**
 * @author yuqi
 *
 */
public class SellBill {
	private int id;
	private int menber_id;
	private double sum;
	private Date date;
	
	/**
	 * use to do select;
	 * @param bill_id
	 * @param menber_id
	 * @param sum
	 * @param date
	 */
	public SellBill(int id ,int menber_id , double sum , Date date){
		this.id = id;
		this.menber_id = menber_id;
		this.sum = sum;
		this.date = date;
	}
	
	/**
	 * use to do insert;
	 * @param menber_id
	 * @param sum
	 * @param date
	 */
	public SellBill(int menber_id , double sum , Date date){
		this.menber_id = menber_id;
		this.sum = sum;
		this.date = date;
	}

	/**
	 * @return the bill_id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param bill_id the bill_id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the menber_id
	 */
	public int getMenber_id() {
		return menber_id;
	}

	/**
	 * @param menber_id the menber_id to set
	 */
	public void setMenber_id(int menber_id) {
		this.menber_id = menber_id;
	}

	/**
	 * @return the sum
	 */
	public double getSum() {
		return sum;
	}

	/**
	 * @param sum the sum to set
	 */
	public void setSum(double sum) {
		this.sum = sum;
	}

	/**
	 * @return the date
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * @param date the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	
}
